<?php

/*
*	Author: Panos
*	Arguments: category id
*	Operation: Returns an array of all the users that are members of a specific category, regardless of their type (user, moderator, creator)
*	Return: An Array of objects of type User
*/

function BL_getCategoryUsers($categoryId)
{
    if ($categoryId < 0)
    {
        return BL_GET_CATEGORY_USERS;
    }

    return DB_getCategoryUsers($categoryId);
}

function BL_getCategoryMods($categoryId)
{
    if ($categoryId < 0)
    {
        return BL_GET_CATEGORY_USERS;
    }

    return DB_getCategoryModerators($categoryId);
}

?>